import request from '/@/utils/request'
export const prefix = 'ccy'

export default {
  /**
   * 获取【钱】的确认人
   * capitalStream -> 资金流水；receivable -> 应收；payable -> 应付
   */
  getCapitalUsers(code) {
    return request({
      url: 'system/sysUser/getMoneyConfirmUsers?code=' + code,
      method: 'get'
    })
  },
  /**
   * 获取确认人上一次选择记录
   * @param code 事项编码
   */
  getConfirmRecord(code) {
    return request({
      url: prefix + '/confirmRecord/getRecord?code=' + code,
      method: 'get'
    })
  }
}
